package com.mrzhou.msg.feign.fallback;

import com.mrzhou.core.tool.api.R;
import com.mrzhou.msg.feign.client.IMsgClient;
import com.mrzhou.msg.vo.req.ValidMailPhoneReq;

public class MsgClientFallback implements IMsgClient {

    private R result;

    public MsgClientFallback(String message) {
        this.result = R.fail(message);
    }

    @Override
    public R<String> validMailCode(ValidMailPhoneReq req) {
        return result;
    }
}
